<?php
	class khoacontroller
	{
		public $MaKhoa = "";
		public $TenKhoa = "";
		
		public function Them()
		{
			$data = new khoadata();
			return $data->Them($this->MaKhoa, $this->TenKhoa);
		}
		
		public function CapNhat()
		{
			$data = new khoadata();
			return $data->CapNhat($this->MaKhoa, $this->TenKhoa);
		}
		
		public function Xoa()
		{
			$data = new khoadata();
			return $data->Xoa($this->MaKhoa);
		}
		
		public function LayDanhSach()
		{
			$data = new khoadata();
			return $data->LayDanhSach($this->MaKhoa);
		}
	}
?>